libxl: libxl-json format and internal functions to get / set it
authorWei Liu <wei.liu2@citrix.com>
Thu, 4 Sep 2014 22:43:10 +0000 (23:43 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 9 Sep 2014 11:46:23 +0000 (12:46 +0100)
commit72018008c89414092e7d6edb6775a90f151e66ec
tree4a37bebdbf97e7ba38f6d2b4e76052daa312cda1
parentb61d5a9a76363fad9cd10ac1c40288e01d43d85f
libxl: libxl-json format and internal functions to get / set it

Introduce a new format in libxl userdata store called "libxl-json". This
file format contains JSON version of libxl_domain_config, generated by
libxl. Applications are not supposed to access this file directly.

Two internal functions to get and set libxl_domain_configuration
are also introduced. Also introduce a new error code to indicate
abnormal state that libxl-json config file is empty.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.h
tools/libxl/libxl_internal.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_types.idl